Creates a new policy definition revision
Creates a new policy definition revision
- application/json
Request Body required
- id string
- name string
- target string
- type string
payload object
property name*
object
Responses
- 200
- 400
- 409
Policy definition was created successfully. Returns the Policy Definition Id
- application/json
- Schema
- Example (from schema)
Schema
- message string
- level string
result object
items object[]
id string
{
"message": "string",
"level": "string",
"result": {
"items": [
{
"id": "string"
}
]
}
}
Request body was malformed
- application/json
- Schema
- Example (from schema)
Schema
- message string
- level string
- result string
{
"message": "string",
"level": "string",
"result": "string"
}
Policy definition could not be created, because it does already exist.
- application/json
- Schema
- Example (from schema)
Schema
- message string
- level string
- result string
{
"message": "string",
"level": "string",
"result": "string"
}
Loading...